package com.inspur.service.impl;

import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.mapper.MgrWorkzjMapper;
import com.inspur.pojo.MgrWorkResult;
import com.inspur.pojo.MgrWorkzj;
import com.inspur.service.MgrWorkzjService;
@Service("MgrWorkzjService")
public class MgrWorkzjServiceImpl implements MgrWorkzjService{

	@Autowired
	private MgrWorkzjMapper mgrWorkzjMapper;
	
	@Override
	public List<MgrWorkzj> getWorkList(HashMap<String, Object> map) {

		return mgrWorkzjMapper.getWorkList(map);
	}
	@Override
	public void workzjAdd(MgrWorkzj MgrWorkzj){
		 mgrWorkzjMapper.workzjAdd(MgrWorkzj);
	}
	@Override
	public void deletezj(int ids[]){
		mgrWorkzjMapper.deletezj(ids);
	}
	@Override
	public List<MgrWorkzj> getzjbycmkey(int cmkey){
		return mgrWorkzjMapper.getzjbycmkey(cmkey);
		
	}
	@Override
	public void zjUpdate(MgrWorkzj mgrWorkzj){
		mgrWorkzjMapper.zjUpdate(mgrWorkzj);
	}
}
